package com.ruoyi.caigou.service;

import java.util.List;
import com.ruoyi.caigou.domain.BuySupplies;
import com.ruoyi.caigou.domain.dto.BuySupDTO;

/**
 * 供应商报价Service接口
 * 
 * @author lvql
 * @date 2024-10-31
 */
public interface IBuySuppliesService 
{
    /**
     * 查询供应商报价
     * 
     * @param id 供应商报价主键
     * @return 供应商报价
     */
    public BuySupDTO selectBuySuppliesById(Integer id);

    /**
     * 查询供应商报价列表
     * 
     * @param buySupplies 供应商报价
     * @return 供应商报价集合
     */
    public List<BuySupplies> selectBuySuppliesList(BuySupplies buySupplies);

    /**
     * 新增供应商报价
     * 
     * @param buySupplies 供应商报价
     * @return 结果
     */
    public int insertBuySupplies(BuySupplies buySupplies);
    int insertBuySuppliesPlus(BuySupDTO buySupDTO);
    /**
     * 修改供应商报价
     * 
     * @param buySupplies 供应商报价
     * @return 结果
     */
    public int updateBuySupplies(BuySupplies buySupplies);
    int updateBuySuppliesPlus(BuySupDTO buySupDTO);
    /**
     * 批量删除供应商报价
     * 
     * @param ids 需要删除的供应商报价主键集合
     * @return 结果
     */
    public int deleteBuySuppliesByIds(Integer[] ids);

    /**
     * 删除供应商报价信息
     * 
     * @param id 供应商报价主键
     * @return 结果
     */
    public int deleteBuySuppliesById(Integer id);


    int deleteBuySuppliesByIdsPlus(Integer[] ids);
}
